import request from 'umi-request';

export async function fakeSubmitForm(params) {
  return request('/api/forms', {
    method: 'POST',
    data: params,
  });
}


export async function queryFakeList(params) {
  params ={type200:1,...params}
  return request('/class/myClassList', {
    params
  });
}


export async function cancelClassJoin(params) {
  return request('/class/cancelClassJoin', {
    method: 'POST',
    params,//post凭借路径 
    //data: params,在body
  });
}
export async function getstudents(params) {
  params ={type200:1,...params}
  return request('/class/studentList', {
    params
  });
}